#HTML <form>
The <form> HTML element represents a document section containing interactive controls for submitting information.
#Attributes
-
accept
Deprecated : Comma-separated content types the server accepts.Note: This attribute has been deprecated and should not be used. Instead, use the
accept
attribute on<input type=file>
elements. -
accept-charset
: The character encoding accepted by the server. The specification allows a single case-insensitive value of"UTF-8"
, reflecting the ubiquity of this encoding (historically multiple character encodings could be specified as a comma-separated or space-separated list). -
autocapitalize
: Controls whether inputted text is automatically capitalized and, if so, in what manner. See theautocapitalize
global attribute page for more information. -
autocomplete
: Indicates whether input elements can by default have their values automatically completed by the browser.autocomplete
attributes on form elements override it on<form>
. Possible values:off
: The browser may not automatically complete entries. (Browsers tend to ignore this for suspected login forms; see Managing autofill for login fields.)on
: The browser may automatically complete entries.
-
name
: The name of the form. The value must not be the empty string, and must be unique among theform
elements in the forms collection that it is in, if any. -
rel
: Controls the annotations and what kinds of links the form creates. Annotations includeexternal
,nofollow
,opener
,noopener
, andnoreferrer
. Link types includehelp
,prev
,next
,search
, andlicense
. Therel
value is a space-separated list of these enumerated values.